package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ngc.mall.common.configure.mybatisPlus.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 
 * 
 * @author: chenxiaolin 
 * @date 2023/8/21 10:28
**/
@TableName("activity")
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActivityDomain extends BaseDomain {

    private String title;

    private String name;

    /**
     * 活动开始时间
     */
    private LocalDateTime startDate;

    /**
     * 活动结束时间
     */
    private LocalDateTime endDate;

    /**
     * 活动封面图
     */
    private String entranceImg;
    /**
     * 活动标题图
     */
    private String internalTopImg;

    private String remark;

    /**
     * 活动状态 0未开始 1进行中 2已结束 3已关闭
     */
    private Integer status;

    @TableLogic
    public Boolean deleted;

}
